<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:p="http://primefaces.org/ui"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:t="http://myfaces.apache.org/tomahawk"
                template="/index.xhtml">
    
<!--    xmlns:t="http://myfaces.apache.org/tomahawk"-->
    
    <ui:define name="principal">
        
        <p:panel header="#Gerenciamento de Bancos" styleClass="telaToda">
            <h:form>
            <t:panelGrid columns="2" cellspacing="10">
                <h:outputLabel value="#Nome"/>
                <h:inputText value="#{bancoController.banco.nome}"/>
                
                <t:panelGroup colspan="2" style="text-align: center">
                    <h:commandButton value="#Salvar" action="#{bancoController.salvar()}"/>
                </t:panelGroup>
                                    
            </t:panelGrid>
            </h:form>
        </p:panel>
        
    </ui:define>

</ui:composition>
